package com.example.travel.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.travel.domain.entity.Spot;
import com.example.travel.domain.response.SpotUserAndNumber;

import java.util.List;

/**
 * @Author : LinQingLiang
 * @file : SpotService.java
 * @Since : 2023/2/5 14:15
 */
public interface SpotService extends IService<Spot> {

    Page page(Integer pageNum, Integer pageSize, String name);

    List<SpotUserAndNumber> userSelectSpot(Integer id);
}
